#include <myheader.h>

/*Usage:  */
int main(int argc, char *argv[])
{
    key_t key = ftok("Makefile",20);
    int shmid = shmget(key, 60, 0666 | IPC_CREAT);
    ERROR_CHECK(shmid, -1, "shared_mem");
    char* p = (char*)shmat(shmid,NULL,0);
    printf("%s\n",p);
    shmdt(p);
    return 0;
}

